package ModelLayer;

public class Product
{
private int productNumber;
private int serialNumber;
private String productName;
private Double purchasePrice;
private Double salesPrice;
private Double rentPrice;
private String countryOfOrigin;
private String fabricant;
private String description;
private String carModel;
private int modelYear;
private int minStock;
private int maxStock;
private String productType;
private Supplier supplier;
private Amount pAmount;
private Store store;

//Empty constructor	
public Product()
	{
		
	}
	
//Constructor which builds the object	
public Product(int productNumber, int serialNumber, String productName, double purchasePrice,
			double salesPrice, double rentPrice, String countryOfOrigin, String fabricant, 
			String description, String carModel, int modelYear, int minStock, int maxStock, 
			String productType, Supplier supplier, Store store, Amount pAmount)
	{
		this.productNumber = productNumber;
		this.serialNumber = serialNumber;
		this.productName = productName;
		this.purchasePrice = purchasePrice;
		this.salesPrice = salesPrice;
		this.rentPrice = rentPrice;
		this.countryOfOrigin = countryOfOrigin;
		this.fabricant = fabricant;
		this.description = description;
		this.carModel = carModel;
		this.modelYear = modelYear;
		this.minStock = minStock;
		this.maxStock = maxStock;
		this.productType = productType;
		this.pAmount = pAmount;
		this.supplier = supplier;
		this.store = store;
	}
	
//Constructor which builds the object	
public Product(int serialNumber, String productName, double purchasePrice,
			double salesPrice, double rentPrice, String countryOfOrigin, String fabricant, 
			String description, String carModel, int modelYear, int minStock, int maxStock, 
			String productType, Supplier supplier, Store store, Amount pAmount)
	{
		this.serialNumber = serialNumber;
		this.productName = productName;
		this.purchasePrice = purchasePrice;
		this.salesPrice = salesPrice;
		this.rentPrice = rentPrice;
		this.countryOfOrigin = countryOfOrigin;
		this.fabricant = fabricant;
		this.description = description;
		this.carModel = carModel;
		this.modelYear = modelYear;
		this.minStock = minStock;
		this.maxStock = maxStock;
		this.productType = productType;
		this.pAmount = pAmount;
		this.supplier = supplier;
		this.store = store;
	}

//Constructor which builds the object	
public Product(int productNumber, int serialNumber, String productName,
			double purchasePrice, double salesPrice, double rentPrice,
			String countryOfOrigin, String fabricant, String description,
			String carModel, int modelYear, int minStock, int maxStock) 
	{
		this.serialNumber = serialNumber;
		this.productName = productName;
		this.purchasePrice = purchasePrice;
		this.salesPrice = salesPrice;
		this.rentPrice = rentPrice;
		this.countryOfOrigin = countryOfOrigin;
		this.fabricant = fabricant;
		this.description = description;
		this.carModel = carModel;
		this.modelYear = modelYear;
		this.minStock = minStock;
		this.maxStock = maxStock;
	}

	//Returns product number
	public int getProductNumber() 
	{
		return productNumber;
	}

	//Sets product number
	public void setProductNumber(int productNumber) 
	{
		this.productNumber = productNumber;
	}

	//Returns serial number
	public int getSerialNumber() 
	{
		return serialNumber;
	}

	//Sets serial number
	public void setSerialNumber(int serialNumber) 
	{
		this.serialNumber = serialNumber;
	}

	//Returns product name
	public String getProductName() 
	{
		return productName;
	}

	//Sets the product name
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	//Returns purchase price
	public Double getPurchasePrice() 
	{
		return purchasePrice;
	}

	//Sets the purchase price
	public void setPurchasePrice(Double purchasePrice) 
	{
		this.purchasePrice = purchasePrice;
	}

	//Returns sales price
	public Double getSalesPrice() 
	{
		return salesPrice;
	}

	//sets sales price
	public void setSalesPrice(Double salesPrice) 
	{
		this.salesPrice = salesPrice;
	}

	//Returns rent price
	public Double getRentPrice() 
	{
		return rentPrice;
	}

	//Sets rent price
	public void setRentPrice(Double rentPrice) 
	{
		this.rentPrice = rentPrice;
	}

	//Return COR
	public String getCountryOfOrigin() 
	{
		return countryOfOrigin;
	}

	//Sets COR
	public void setCountryOfOrigin(String countryOfOrigin) 
	{
		this.countryOfOrigin = countryOfOrigin;
	}

	//Returns fabricant
	public String getFabricant() 
	{
		return fabricant;
	}

	//Sets fabricant
	public void setFabricant(String fabricant) 
	{
		this.fabricant = fabricant;
	}

	//Returns description
	public String getDescription() 
	{
		return description;
	}

	//Sets description
	public void setDescription(String description) 
	{
		this.description = description;
	}

	//Returns carmodel
	public String getCarModel() 
	{
		return carModel;
	}

	//Sets carmodel
	public void setCarModel(String carModel) 
	{
		this.carModel = carModel;
	}

	//Returns modelyear
	public int getModelYear() 
	{
		return modelYear;
	}

	//Sets modelyear
	public void setModelYear(int modelYear) 
	{
		this.modelYear = modelYear;
	}

	//Returns min stock
	public int getMinStock() 
	{
		return minStock;
	}

	//Sets min stock
	public void setMinStock(int minStock) 
	{
		this.minStock = minStock;
	}

	//Returns max stock
	public int getMaxStock() 
	{
		return maxStock;
	}

	//Sets max stock
	public void setMaxStock(int maxStock) 
	{
		this.maxStock = maxStock;
	}

	//Returns amount
	public Amount getpAmount() 
	{
		return pAmount;
	}

	//Sets amount
	public void setpAmount(Amount pAmount) 
	{
		this.pAmount = pAmount;
	}
	
	//Return supplier
	public Supplier getSupplier()
	{
		return supplier;
	}
	
	//Sets supplier
	public void setSupplier(Supplier supplier)
	{
		this.supplier = supplier;
	}

	//Returns store
	public Store getStore() 
	{
		return store;
	}

	//Sets store
	public void setStore(Store store) 
	{
		this.store = store;
	}
	
	//Returns product type
	public String getProductType() 
	{
		return productType;
	}

	//Sets product type
	public void setProductType(String productType) 
	{
		this.productType = productType;
	}
}